{layout name="common@common_layout/template" /}
<section class="scrollable padder">
	<div class="m-b-md">
		<h3 class="m-b-none">添加咨询者</h3>
	</div>
	<section class="panel panel-default">
		<iframe style="display: none;" name="ifr"></iframe>
		<div class="panel-body">
			<form class="form-horizontal" target="ifr" action="{:url('consultant_module/index/commit_add_edit')}" method="post">
				<div class="form-group">
					<label class="col-sm-2 control-label">姓名</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="name" placeholder="请输入咨询者姓名" id="consultant_name">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">电话号码</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入咨询者电话号码" name="phone" id="consultant_phone">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="clear: both;">
					<label class="col-sm-2 control-label">性别</label>
					<div class="col-sm-10">
						<div class="radio i-checks" style="float: left;">
							<label>
                            <input type="radio" name="sex" value="1" checked>
                            <i></i>
                            男
                          </label>
						</div>
						<div class="radio i-checks" style="float: left; margin-left: 20px;">
							<label>
                            <input type="radio" name="sex" value="0">
                            <i></i>
                            女
                          </label>
						</div>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学历</label>
					<div class="col-sm-10">
						<select name="education_id" class="form-control m-b">
							{volist name="education_list" id="education" empty="暂时没有数据"}
							<option {$education.id=="3"?"selected":""} value="{$education.id}">{$education.grade}</option>
							{/volist}							
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">学校</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入咨询者就读的学校" name="school">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">微信</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入咨询者微信" name="wechat">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">QQ</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入咨询者QQ" name="qq">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">应聘职位</label>
					<div class="col-sm-10">
						<select name="position" class="form-control m-b">
							{volist name="position_list" id="position" empty="暂时没有数据"}
							<option {$position.id=="1"?"selected":""} value="{$position.id}">{$position.name}</option>
							{/volist}		
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">所读专业</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" placeholder="请输入咨询者所读专业" name="major">
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="clear: both;">
					<label class="col-sm-2 control-label">上门情况</label>
					<div class="col-sm-10">
						<div class="radio i-checks" style="float: left;">
							<label>
                            <input type="radio" name="visit_state" value="0" checked>
                            <i></i>
                            未上门
                          </label>
						</div>
						<div class="radio i-checks" style="float: left; margin-left: 20px;">
							<label>
                            <input type="radio" name="visit_state" value="1">
                            <i></i>
                            已上门
                          </label>
						</div>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">咨询者意向</label>
					<div class="col-sm-10">
						<select name="intention_id" class="form-control m-b">
							{volist name="intention_list" id="intention" empty="暂时没有数据"}
							<option {$intention.id=="1"?"selected":""} value="{$intention.id}">{$intention.type}</option>
							{/volist}							
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">咨询渠道</label>
					<div class="col-sm-10">
						<select name="channel_id" class="form-control m-b">
							{volist name="channel_list" id="channel" empty="暂时没有数据"}
							<option {$channel.id=="1"?"selected":""} value="{$channel.id}">{$channel.type}</option>
							{/volist}							
						</select>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="clear: both;">
					<label class="col-sm-2 control-label">联系情况</label>
					<div class="col-sm-10">
						<div class="radio i-checks" style="float: left;">
							<label>
								<input type="radio" name="contact_state" value="0" checked>
								<i></i>
								未联系上
							</label>
						</div>
						<div class="radio i-checks" style="float: left; margin-left: 20px;">
							<label>
                            <input type="radio" name="contact_state" value="1">
                            <i></i>
                            已联系上
                          </label>
						</div>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-2 control-label">记录</label>
					<div class="col-sm-10">
						<textarea name="record_content" class="form-control" placeholder="请输入对咨询者的记录内容" style="max-width: 100%; height: 34px;"></textarea>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<div class="form-group" style="margin-bottom: 40px;">
					<div class="col-sm-5 col-sm-offset-2">
						<a href="{:url('consultant_module/index/show_list')}" class="btn btn-default">返回</a>
						<button style="margin-left: 10px;" type="submit" class="btn btn-primary">保存</button>
					</div>
				</div>
			</form>
		</div>
	</section>
</section>
<script src="/static/js/consultant/consultant.js" type="text/javascript" charset="utf-8"></script>
